<!--账号添加-->

<script src="{$static_dir}/assets/js/jquery.ztree.core.js"></script>
<script src="{$static_dir}/assets/js/jquery.ztree.excheck.js"></script>
<div class="layui-row">
	<div class="layui-row">
		<div class="layui-col-xs8">
			<form class="layui-form">
				<!-- <div class="layui-form-item">
					<div class="layui-block">
						<label class="layui-form-label">账号</label>
						<div class="layui-input-block">
							<input type="tel" name="username" lay-verify="required" autocomplete="off" class="layui-input">
						</div>
					</div>
				</div> -->
				{if $Think.get.role_id}
				<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
					<legend>创建账号</legend>
				  </fieldset>
				{/if}
				<div class="layui-form-item">
					<div class="layui-block">
						<label class="layui-form-label">手机号</label>
						<div class="layui-input-block">
							<input type="text" name="mobile" lay-verify="required|phone" autocomplete="off" class="layui-input">
						</div>
					</div>

				</div>
				<div class="layui-form-item">
					<div class="layui-block">
						<label class="layui-form-label">密码</label>
						<div class="layui-input-block">
							<input type="text" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
						</div>
					</div>
				</div>
				{if $Think.get.role_id}
				{else/}
				<div class="layui-form-item">
					<div class="layui-block">
						<label class="layui-form-label">角色</label>
						<div class="layui-input-block">
	                    <select id="role_id" name="role_id" multiple="multiple" xm-select="select1" xm-select-skin="normal">
	               			
	               		</select>
	               		
	                    </div>
					</div>
				</div>
				{/if}
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="button" class="layui-btn layui-btn-normal keep" lay-submit="" lay-filter="ss1">立即提交</button>
						{if $Think.get.role_id}
						<!--<button type="button" class="layui-btn layui-btn-normal bacaklist" >返回列表</button>-->
						{else/}
						
						{/if}
					</div>
				</div>
			</form>
		</div>
		<div class="layui-col-xs4">
			<ul id="ztreeid" class="ztree"></ul>
		</div>
	</div>
</div>